package nc.vo.pub.util;

import java.util.HashMap;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;

import nc.vo.pub.SuperVO;

public class UtilVo extends SuperVO {

	private String code ;
	private String pk_vo;
	
	private Map<String, String> map;
	
	public UtilVo() {
		map =new HashMap<String, String>();
	}
	
	public String getCode() {
		return code;
	}
	
	public void setCode(String code) {
		this.code = code;
	}
	
	public String getPk_vo() {
		return pk_vo;
	}
	
	public void setPk_vo(String pk_vo) {
		this.pk_vo = pk_vo;
	}

	@Override
	public String toString() {
		JSONObject jsonObject=new JSONObject();
		jsonObject.put(pk_vo,code);
		
		return jsonObject.toJSONString();
	}
	
	public Map<String, String> getMap() {
		map.put(pk_vo, code);
		return map;
	}
	
	
}
